<%--
  Created by IntelliJ IDEA.
  User: ren jian
  Date: 2021/12/26
  Time: 15:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>图书编辑</title>
</head>
<body>
<form action="bookServlet?action=updateBook" method="post">
    <input type="hidden" name="id" value="${requestScope.bookObj.sn}">
    <table align="center" border="1" cellspacing="0" cellpadding="0">
        <tr>
            <th>
                图书名称
            </th>
            <th>
                图书作者
            </th>
            <th>
                图书价格
            </th>
            <th>
                出版社
            </th>

            <th>
                操作
            </th>
        </tr>
        <tr>
            <td>
                <input type="text" name="name" value="${requestScope.bookObj.bname}">
            </td>
            <td>
                <input type="text" name="author" value="${requestScope.bookObj.author}">
            </td>
            <td>
                <input type="text" name="price" value="${requestScope.bookObj.price}">
            </td>
            <td>
                <input type="text" name="publish" value="${requestScope.bookObj.publish}">
            </td>
            <td>
                <input type="submit" value="提交" ></input>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
